package com.cc.Service.Impl;

import com.cc.Dao.EmployeeDao;
import com.cc.Dao.Impl.EmployeeDaoImpl;
import com.cc.Service.EmployeeService;
import com.cc.eneity.Employee;

import java.util.Collections;
import java.util.List;

public class EmployeeServiceImpl implements EmployeeService {
    EmployeeDao employeeDao = new EmployeeDaoImpl();

    @Override
    public List<Employee> getAll(String EmpName) {
        return employeeDao.getAll(EmpName);
    }

    @Override
    public boolean add(Employee emp) {
        return false;
    }
}
